package com.hetang.maijiayun.adaptertools.b2cinterface.paipai.domain;

import java.util.List;


/**  
 * @copyright bjhetang
 * @author leoshen    
 * @version 1.0
 * @created 2011-10-10 AM9:44:22 
 */ 
public class Attribute {

	
	private Integer attrId;		//属性ID
	private String attrName;	//属性名称0,1
	private Integer keyAttr;	//标识是否关键属性0,1（该品类下每种商品该属性值必须唯一）
	private Integer necessary;	//是否必填0,1
	private Integer saleAttr;	//是否销售属性(标识库存)0,1
	private String useType;		//属性的类型(单选，多选，文本)UT_RADIO | UT_CHECKBOX | UT_TEXT
	private Integer c2cHidden;	//是否标识为c2c业务不需要的属性0,1
	private Integer b2cHidden;	//是否标识为b2c业务不需要的属性0,1
	
	private List<AttributeOption> optionList;
	
	public Integer getAttrId() {
		return attrId;
	}
	public void setAttrId(Integer attrId) {
		this.attrId = attrId;
	}
	public String getAttrName() {
		return attrName;
	}
	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}
	public Integer getKeyAttr() {
		return keyAttr;
	}
	public void setKeyAttr(Integer keyAttr) {
		this.keyAttr = keyAttr;
	}
	public Integer getNecessary() {
		return necessary;
	}
	public void setNecessary(Integer necessary) {
		this.necessary = necessary;
	}
	public Integer getSaleAttr() {
		return saleAttr;
	}
	public void setSaleAttr(Integer saleAttr) {
		this.saleAttr = saleAttr;
	}
	public String getUseType() {
		return useType;
	}
	public void setUseType(String useType) {
		this.useType = useType;
	}
	public Integer getC2cHidden() {
		return c2cHidden;
	}
	public void setC2cHidden(Integer c2cHidden) {
		this.c2cHidden = c2cHidden;
	}
	public Integer getB2cHidden() {
		return b2cHidden;
	}
	public void setB2cHidden(Integer b2cHidden) {
		this.b2cHidden = b2cHidden;
	}
	public List<AttributeOption> getOptionList() {
		return optionList;
	}
	public void setOptionList(List<AttributeOption> optionList) {
		this.optionList = optionList;
	}
}